package com.job.admin.model.audit.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_audit_company")
public class AuditCompany {
    @TableId(value = "audit_company_id",type = IdType.ASSIGN_UUID)
    private String auditCompanyId;

    @TableField("company_name")
    private String companyName;

    @TableField("user_id")
    private String userId;

    @TableField("bank_account")
    private String bankAccount;

    @TableField("bank_style")
    private String bankStyle;

    @TableField("status")
    private Integer status;

    @TableField("reason")
    private String reason;

    @TableField("audit_user")
    private String auditUser;

    @TableField("submission_time")
    private String submissionTime;

    @TableField("audit_time")
    private LocalDateTime auditTime;

    public AuditCompany(String companyName, String userId, String bankAccount, String bankStyle, String submissionTime) {
        this.companyName = companyName;
        this.userId = userId;
        this.bankAccount = bankAccount;
        this.bankStyle = bankStyle;
        this.submissionTime = submissionTime;
    }
}
